package com.example.springsecurity.sms.code;

import org.springframework.stereotype.Component;

/**
 * 验证码打印到控制台
 */
@Component
public class DefaultSmsCodeSender {
    public void send(String mobile, String code) {
        System.out.println("向手机"+mobile+"发送短信验证码"+code);
    }

}
